package utils;

import java.util.HashMap;

public class XHHashMap extends HashMap<String,String> {
    /**
     * 当读取的数据为null时，返回空字符串
     * @param key the key whose associated value is to be returned
     * @return
     */
    @Override
    public String get(Object key) {
        String val = super.get(key);
        return val == null ? "":val;
    }
}
